package cn.com.project.pattern.m.decorator;

/**
 * @Desc 高分装饰
 * @Author wangjun
 * @Date 2018-01-24
 */
public class HighScoreDecorator extends Decorator {

	public HighScoreDecorator(SchoolReport sr) {
		super(sr);
	}
	
	public void reportHighScore() {
		System.out.println("最高分  语文：80  数学：75  英语：78");
	}
	
	@Override
	public void report() {
		super.report();
		this.reportHighScore();
	}

}
